﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace PUZZLEgestServer.SVC
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "ILogin" in both code and config file together.
    [ServiceContract]
    public interface ILogin
    {
        [OperationContract]
        bool IsFirstLogin();

        [OperationContract]
        DAL.User LoginPassword(string user, string password);

        [OperationContract]
        DAL.User LoginPattern(string user, string pattern);

        [OperationContract]
        DAL.User LoginMagneticCard(string user, string cardCode);

    }
}
